/**
 * 
 */
package com.hz.winnie.demands.pojo;

import java.util.Arrays;
import java.util.Date;

/**
 * @description 需求pojo
 * @author winnie
 * @date 2011-4-6
 * @version 1.0
 */
public class Demand extends Page {

    private int id;
    private int userId;
    private int productId;
    private String title;
    private String content;
    private String priority;
    private String remark;
    private String status;
    private Date gmtComplete;
    private Date gmtCreate;
    private Date gmtModify;
    private int creator;
    private int modifier;
    private String isNew;

    private String keyWords;
    private Date startTime;
    private Date endTime;
    private String originalStatus; // 原来的状态
    private String[] statuslist; // 状态集合用于查找
    private String userName;// 处理人名称

    public int getId() {
	return id;
    }

    public void setId(int id) {
	this.id = id;
    }

    public int getUserId() {
	return userId;
    }

    public void setUserId(int userId) {
	this.userId = userId;
    }

    public int getProductId() {
	return productId;
    }

    public void setProductId(int productId) {
	this.productId = productId;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getContent() {
	return content;
    }

    public void setContent(String content) {
	this.content = content;
    }

    public String getPriority() {
	return priority;
    }

    public void setPriority(String priority) {
	this.priority = priority;
    }

    public String getRemark() {
	return remark;
    }

    public void setRemark(String remark) {
	this.remark = remark;
    }

    public Date getGmtComplete() {
	return gmtComplete;
    }

    public void setGmtComplete(Date gmtComplete) {
	this.gmtComplete = gmtComplete;
    }

    public Date getGmtCreate() {
	return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
	this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
	return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
	this.gmtModify = gmtModify;
    }

    public int getCreator() {
	return creator;
    }

    public void setCreator(int creator) {
	this.creator = creator;
    }

    public int getModifier() {
	return modifier;
    }

    public void setModifier(int modifier) {
	this.modifier = modifier;
    }

    public String getKeyWords() {
	return keyWords;
    }

    public void setKeyWords(String keyWords) {
	this.keyWords = keyWords;
    }

    public Date getStartTime() {
	return startTime;
    }

    public void setStartTime(Date startTime) {
	this.startTime = startTime;
    }

    public Date getEndTime() {
	return endTime;
    }

    public void setEndTime(Date endTime) {
	this.endTime = endTime;
    }

    public String getIsNew() {
	return isNew;
    }

    public void setIsNew(String isNew) {
	this.isNew = isNew;
    }

    public String getUserName() {
	return userName;
    }

    public void setUserName(String userName) {
	this.userName = userName;
    }

    public String getStatus() {
	return status;
    }

    public void setStatus(String status) {
	this.status = status;
    }

    public String getOriginalStatus() {
	return originalStatus;
    }

    public void setOriginalStatus(String originalStatus) {
	this.originalStatus = originalStatus;
    }

    public String[] getStatuslist() {
	return statuslist;
    }

    public void setStatuslist(String[] statuslist) {
	this.statuslist = statuslist;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	return "Demand [content=" + content + ", creator=" + creator
		+ ", endTime=" + endTime + ", gmtComplete=" + gmtComplete
		+ ", gmtCreate=" + gmtCreate + ", gmtModify=" + gmtModify
		+ ", id=" + id + ", isNew=" + isNew + ", keyWords=" + keyWords
		+ ", modifier=" + modifier + ", originalStatus="
		+ originalStatus + ", priority=" + priority + ", productId="
		+ productId + ", remark=" + remark + ", startTime=" + startTime
		+ ", status=" + status + ", statuslist="
		+ Arrays.toString(statuslist) + ", title=" + title
		+ ", userId=" + userId + ", userName=" + userName + "]";
    }

}
